package com.medical.data.mapper;

import com.medical.data.domain.FormTemplate;
import com.medical.data.domain.ProjectTemplate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cj
 * @since 2024-02-17
 */
public interface ProjectTemplateMapper extends BaseMapper<ProjectTemplate> {

    List<FormTemplate> getNodesByProjectId(@Param("projectId") String projectId);

    List<FormTemplate> getFollowNodesByProjectId(@Param("projectId") String projectId);

    List<FormTemplate> getAllNodesByProjectId(@Param("projectId") String projectId);
}
